package com.rtx.wms.std.adjustment.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.api.annotation.RtxSTDRequest;
import io.swagger.annotations.ApiModel;

import java.util.Date;

/**
 * 调整明细表实体类
 */

@RtxSTDRequest(name = "wms调整单明细")
@TableName("adjustmentdetail")
@ApiModel(value = "Adjustmentdetail对象", description = "调整单明细表")
public class Adjustmentdetail {

    @TableId(value = "SERIALKEY", type = IdType.AUTO)
    private String serialkey;

    private String adjustmentkey;
    private String adjustmentlinenumber;
    private String sku;
    private String storerkey;
    private String whseid;
    private String loc;
    private String lot;
    private String id;
    private String reasoncode;
    private String uom;
    private String packkey;
    private Double qty;
    private Double casecnt;
    private Double innerpack;
    private Double pallet;
    @TableField(exist = false)
    private Double cube;
    @TableField(exist = false)
    private Double grosswgt;
    @TableField(exist = false)
    private Double netwgt;
    private Double otherunit1;
    private Double otherunit2;
    private String itrnkey;

    private Date effectivedate;
    private String receiptkey;
    private String receiptlinenumber;
    private String forte_flag;
    private String updateflag;
    private String referencekey;
    private Double actualgrosswgt;
    private Double actualnetwgt;
    private Double actualtarewgt;
    private Double adjgrosswgt;
    private Double adjnetwgt;
    private Double adjtarewgt;
    private Date adddate;
    private String addwho;
    private Date editdate;
    private String editwho;
    private String notes;

    @TableField(exist = false)
    private double tarewgt;
    
    private Double targetadj;
    private Double qtyselected;
    @TableField("adjustment_type")
    private Integer adjustmentType;


    public Integer getAdjustmentType() {
        return adjustmentType;
    }

    public void setAdjustmentType(Integer adjustmentType) {
        this.adjustmentType = adjustmentType;
    }

    public Double getTargetadj() {
        return targetadj;
    }

    public void setTargetadj(Double targetadj) {
        this.targetadj = targetadj;
    }

    public Double getQtyselected() {
        return qtyselected;
    }

    public void setQtyselected(Double qtyselected) {
        this.qtyselected = qtyselected;
    }

    // Fields
    private Double currentqty;
    private Double targetqty;
    private String rtxstatus;

    public String getRtxstatus() {
        return rtxstatus;
    }

    public void setRtxstatus(String rtxstatus) {
        this.rtxstatus = rtxstatus;
    }

    public Double getTargetqty() {
        return targetqty;
    }

    public void setTargetqty(Double targetqty) {
        this.targetqty = targetqty;
    }

    public Double getCurrentqty() {
        return currentqty;
    }

    public void setCurrentqty(Double currentqty) {
        this.currentqty = currentqty;
    }

    public String getAdjustmentkey() {
        return adjustmentkey;
    }

    public void setAdjustmentkey(String adjustmentkey) {
        this.adjustmentkey = adjustmentkey;
    }

    public String getAdjustmentlinenumber() {
        return adjustmentlinenumber;
    }

    public void setAdjustmentlinenumber(String adjustmentlinenumber) {
        this.adjustmentlinenumber = adjustmentlinenumber;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getStorerkey() {
        return storerkey;
    }

    public void setStorerkey(String storerkey) {
        this.storerkey = storerkey;
    }

    public String getSerialkey() {
        return serialkey;
    }

    public void setSerialkey(String serialkey) {
        this.serialkey = serialkey;
    }

    public String getWhseid() {
        return whseid;
    }

    public void setWhseid(String whseid) {
        this.whseid = whseid;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public String getLot() {
        return lot;
    }

    public void setLot(String lot) {
        this.lot = lot;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getReasoncode() {
        return reasoncode;
    }

    public void setReasoncode(String reasoncode) {
        this.reasoncode = reasoncode;
    }

    public String getUom() {
        return uom;
    }

    public void setUom(String uom) {
        this.uom = uom;
    }

    public String getPackkey() {
        return packkey;
    }

    public void setPackkey(String packkey) {
        this.packkey = packkey;
    }

    public Double getQty() {
        return qty;
    }

    public void setQty(Double qty) {
        this.qty = qty;
    }

    public Double getCasecnt() {
        return casecnt;
    }

    public void setCasecnt(Double casecnt) {
        this.casecnt = casecnt;
    }

    public Double getInnerpack() {
        return innerpack;
    }

    public void setInnerpack(Double innerpack) {
        this.innerpack = innerpack;
    }

    public Double getPallet() {
        return pallet;
    }

    public void setPallet(Double pallet) {
        this.pallet = pallet;
    }

    public Double getCube() {
        return cube;
    }

    public void setCube(Double cube) {
        this.cube = cube;
    }

    public Double getGrosswgt() {
        return grosswgt;
    }

    public void setGrosswgt(Double grosswgt) {
        this.grosswgt = grosswgt;
    }

    public Double getNetwgt() {
        return netwgt;
    }

    public void setNetwgt(Double netwgt) {
        this.netwgt = netwgt;
    }

    public Double getOtherunit1() {
        return otherunit1;
    }

    public void setOtherunit1(Double otherunit1) {
        this.otherunit1 = otherunit1;
    }

    public Double getOtherunit2() {
        return otherunit2;
    }

    public void setOtherunit2(Double otherunit2) {
        this.otherunit2 = otherunit2;
    }

    public String getItrnkey() {
        return itrnkey;
    }

    public void setItrnkey(String itrnkey) {
        this.itrnkey = itrnkey;
    }

    public Date getEffectivedate() {
        return effectivedate;
    }

    public void setEffectivedate(Date effectivedate) {
        this.effectivedate = effectivedate;
    }

    public String getReceiptkey() {
        return receiptkey;
    }

    public void setReceiptkey(String receiptkey) {
        this.receiptkey = receiptkey;
    }

    public String getReceiptlinenumber() {
        return receiptlinenumber;
    }

    public void setReceiptlinenumber(String receiptlinenumber) {
        this.receiptlinenumber = receiptlinenumber;
    }

    public String getForte_flag() {
        return forte_flag;
    }

    public void setForte_flag(String forte_flag) {
        this.forte_flag = forte_flag;
    }

    public String getUpdateflag() {
        return updateflag;
    }

    public void setUpdateflag(String updateflag) {
        this.updateflag = updateflag;
    }

    public String getReferencekey() {
        return referencekey;
    }

    public void setReferencekey(String referencekey) {
        this.referencekey = referencekey;
    }

    public Double getActualgrosswgt() {
        return actualgrosswgt;
    }

    public void setActualgrosswgt(Double actualgrosswgt) {
        this.actualgrosswgt = actualgrosswgt;
    }

    public Double getActualnetwgt() {
        return actualnetwgt;
    }

    public void setActualnetwgt(Double actualnetwgt) {
        this.actualnetwgt = actualnetwgt;
    }

    public Double getActualtarewgt() {
        return actualtarewgt;
    }

    public void setActualtarewgt(Double actualtarewgt) {
        this.actualtarewgt = actualtarewgt;
    }

    public Double getAdjgrosswgt() {
        return adjgrosswgt;
    }

    public void setAdjgrosswgt(Double adjgrosswgt) {
        this.adjgrosswgt = adjgrosswgt;
    }

    public Double getAdjnetwgt() {
        return adjnetwgt;
    }

    public void setAdjnetwgt(Double adjnetwgt) {
        this.adjnetwgt = adjnetwgt;
    }

    public Double getAdjtarewgt() {
        return adjtarewgt;
    }

    public void setAdjtarewgt(Double adjtarewgt) {
        this.adjtarewgt = adjtarewgt;
    }

    public Date getAdddate() {
        return adddate;
    }

    public void setAdddate(Date adddate) {
        this.adddate = adddate;
    }

    public String getAddwho() {
        return addwho;
    }

    public void setAddwho(String addwho) {
        this.addwho = addwho;
    }

    public Date getEditdate() {
        return editdate;
    }

    public void setEditdate(Date editdate) {
        this.editdate = editdate;
    }

    public String getEditwho() {
        return editwho;
    }

    public void setEditwho(String editwho) {
        this.editwho = editwho;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }
    

    public double getTarewgt() {
        return tarewgt;
    }

    public void setTarewgt(double tarewgt) {
        this.tarewgt = tarewgt;
    }
    
}